package com.moyoutian.daogenerate.entity;

import lombok.*;

import javax.persistence.Embeddable;
import java.io.Serializable;

@Data
@Embeddable
public class TableId implements Serializable {
    private static final long serialVersionUID = 1L;

    // 表目录
    private String tableCatalog;
    // 表模式名
    private String tableSchema;
    // 表明
    private String tableName;
    // 表明
    private String tableType;
    // 表描述

    @Override
    public String toString() {
        return "TablePK{" +
                "tableCatalog='" + tableCatalog + '\'' +
                ", tableSchema='" + tableSchema + '\'' +
                ", tableName='" + tableName + '\'' +
                ", tableType='" + tableType + '\'' +
                '}';
    }


}
